package com.td.core.obj.tower;

import com.td.core.obj.TDObject;

public class Tower4 extends Tower {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Tower4(int x, int y) {
		super(x, y);
	}

	public Tower4(Tower tower) {
		super(tower);
		setRotation(tower.getRotation());
	}
	
	@Override
	public TDObject getCopy() {
		return new Tower4(this);
	}

	@Override
	public int getPrice() {
		return 110;
	}

	@Override
	public int getRange() {
		return 15;
	}

	@Override
	public int getMinDamage() {
		return 1;
	}

	@Override
	public int getMaxDamage() {
		return 400;
	}

	@Override
	public int getSplash() {
		return 3;
	}

	@Override
	public int getAttackSpeed() {
		return 1;
	}
	
	@Override
	public String getName() {
		return "Big Splash";
	}
	
	@Override
	public void copyTo(TDObject obj) {
		synchronized (obj) {
			Tower4 tower = (Tower4) obj;
			tower.setRotation(this.getRotation());	
		}
		
	}
}
